<?php 
$conInfo=array('Database'=>'mellee.topsource', 'UID'=>'mellee', 'PWD'=>'asp654231');
$conn=sqlsrv_connect('localhost', $conInfo);
print_r(sqlsrv_errors());
$rs=sqlsrv_query($conn, "select * from c");
var_dump($rs);


?>